package com.appspot.smartgan.util;

import java.io.Serializable;

@SuppressWarnings("serial")
public class ContactListPerson implements Serializable, Comparable<ContactListPerson> {
	
	// properties:
	private String name;
	private String address;
	private String phoneNumber;
	
	private String firstParentName;
	private String firstParentPhone;
	
	private String secondParentName;
	private String secondParentPhone;
	
	public ContactListPerson(String name, String address, String phoneNumber) {
		this.name = name;
		this.address = address;
		this.phoneNumber = phoneNumber;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}

	public String getFirstParentName() {
		return firstParentName;
	}

	public void setFirstParentName(String firstParentName) {
		this.firstParentName = firstParentName;
	}

	public String getFirstParentPhone() {
		return firstParentPhone;
	}

	public void setFirstParentPhone(String firstParentPhone) {
		this.firstParentPhone = firstParentPhone;
	}

	public String getSecondParentName() {
		return secondParentName;
	}

	public void setSecondParentName(String secondParentName) {
		this.secondParentName = secondParentName;
	}

	public String getSecondParentPhone() {
		return secondParentPhone;
	}

	public void setSecondParentPhone(String secondParentPhone) {
		this.secondParentPhone = secondParentPhone;
	}

	@Override
	public int compareTo(ContactListPerson another) {
		return name.compareTo(another.name);
	}
	
}
